I/O Mapping (for Profibus Fieldbus)

This procedure describes how to map inputs and outputs to PLC"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events variables on the Profibus"Process Field Bus" Profibus is the most popular type of fieldbus (see Fieldbus entry in the glossary) used worldwide fieldbus.

The mapping can be done from the Dictionary (as described below), but also with the I/O Editor.

To map a variable from the Dictionary to a physical input or output:

  1. Open the Variable list editor available in the Dictionary toolbox
  2. Right-click on the variable to be mapped
  3. Select the Variable I/O Mapping command in the menu to open the mapping dialog

    Mapping Dialog
  4. Figure 11-26: Mapping Dialog

    By default the setting is NONE which means that the variable is a standard variable.

  5. Select I/O (instead of NONE) and the I/O configuration panel appears:

    Variable I/O Mapping
  6. Figure 11-27: Variable I/O Mapping

This form allows you to configure the different types of I/Os supported by KAS by defining the following parameters:

Field

Description

Type

Defines the I/O type of fieldbus: CIFDriver for Profibus

Direction

Specifies if the variable is an Output or an Input

BitSize

Defines the length of the frame to be mapped (see length of data types here)

DeviceId

Defines the address of the I/O communication card located on to the target device (i.e. PAC"Programmable Automation Controller" PAC is a compact controller that combines the features and capabilities of a PC-based control system with that of a typical programmable logic controller (PLC). A PAC thus provides not only the reliability of a PLC, but also the task flexibility and computing power of a PC. Additionally, because they function and communicate over popular network interface protocols, PACs are able to transfer data from the machines they control to other machines and components in a networked control system)

SlaveId

Defines the address of the I/O node on the filedbus ring (Communication and Fieldbus)

For EtherCAT, a fixed address is assigned to each slave node that follows the following convention:

  • first slave item on the network has address 1001
  • second slave item has address 1002, and so on...

ModuleId

For the current variable, defines the address identifier (id) in the slice

BitOffset

Set to the first bit in the module of the slice which is mapped

To map a variable on Profibus, define the fields as follows:

Field

Definition

I/O type

Enter CIFDriver

DeviceId

Set to 0

SlaveId

Set to the id of the I/O node

ModuleId

Set to the id of the slice.

BitOffset

Set to the first bit of the slice which has to be mapped

Table 11-3: I/O Mapping on Profibus

Variable I/O Mapping - Custom

Figure 11-28: Variable I/O Mapping - Custom

For more details about the format of the Description field, It begins with a “%” character.

Concept Link IconSee Also

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™